package com.daniel.design.pattern.adapter.object_adapter;

/**
 * @ClassName TfCardImpl
 * @Description 适配者类
 * @Author Daniel
 * @Version V1.0.0
 */
public class TfCardImpl implements TfCard {
    @Override
    public String readTf() {
        System.out.println("从TF卡中读取数据");
        return "从TF卡中读取数据";
    }

    @Override
    public void writeTf(String data) {
        System.out.println("往TF卡中写入数据");
    }
}
